﻿
Imports osi.interface.storage

Public Module accessor_creator
    Public Function sync_async(ByVal i As sync_accessor_t) As accessor_t
        Return New async_accessor_wrapper(i)
    End Function

    Public Function locked(ByVal i As accessor_t) As accessor_t
        Return New locked_accessor_wrapper(i)
    End Function

    Public Function locked(ByVal i As sync_accessor_t) As accessor_t
        Return locked(sync_async(i))
    End Function
End Module
